home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="iso-8859-1"?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:template match="start/stylepath"></xsl:template>
- <xsl:template match="start/language"></xsl:template>
- <xsl:template match="start/largefont"></xsl:template>
-
-
- <xsl:variable name="language"><xsl:value-of select="start/language"/></xsl:variable>
- <xsl:variable name="largefont"><xsl:value-of select="start/largefont"/></xsl:variable>
- <xsl:variable name="stylepathorig"><xsl:value-of select="start/stylepath"/></xsl:variable>
- <xsl:variable name="stylepath"><xsl:copy-of select="$stylepathorig"/>/Img/</xsl:variable>
- <xsl:variable name="apps"><xsl:value-of select="start/data/countings/apps"/></xsl:variable>
- <xsl:variable name="updates"><xsl:value-of select="start/data/countings/updates"/></xsl:variable>
- <xsl:variable name="ratio"><xsl:value-of select="start/data/countings/apps_ratio"/></xsl:variable>
- <xsl:variable name="lastupdate"><xsl:value-of select="start/data/lastupdate"/></xsl:variable>
- <xsl:variable name="build"><xsl:value-of select="start/data/build"/></xsl:variable>
- <xsl:variable name="myupdatelist"><xsl:value-of select="start/data/updatelist"/></xsl:variable>
-
-
-
-
- <xsl:template match="start/data">
-
-
- <html>
- <head>
- <META HTTP-EQUIV="MSThemeCompatible" CONTENT="YES"/>
-
- <xsl:element name="link">
- <xsl:attribute name="href"><xsl:copy-of select="$stylepathorig"/>/style.css</xsl:attribute>
- <xsl:attribute name="rel">stylesheet</xsl:attribute>
- <xsl:attribute name="type">text/css</xsl:attribute>
- </xsl:element>
-
- <xsl:if test="$largefont='yes'">
- <style type="text/css">
- td {
- font-size: 15px;
- }
-
- td.desc{
- font-size:13px;
- }
- td.normal{
- font-size:13px;
- }
- td.normalbig{
- font-size:13px;
- }
- a.sublink{
- font-size:11px;
- font-weight:bold;
- }
- </style>
- </xsl:if>
-
-
-
-
-
- <!--
- <xsl:element name="SCRIPT">
- <xsl:attribute name="language">JavaScript</xsl:attribute>
- <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\<xsl:copy-of select="$language"/>.js</xsl:attribute>
- </xsl:element>
-
-
- <xsl:element name="SCRIPT">
- <xsl:attribute name="language">JavaScript</xsl:attribute>
- <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\slang.js</xsl:attribute>
- </xsl:element>
- -->
-
-
-
- <xsl:element name="SCRIPT">
- <xsl:attribute name="language">JavaScript</xsl:attribute>
- function translate(){
- for (newalt in sfields) {
- if(document.getElementById(newalt) ){
- if(document.getElementById(newalt).alt){//image
- document.getElementById(newalt).alt=sfields[newalt];
- }else if(document.getElementById(newalt).value == ""){//input
- document.getElementById(newalt).value=sfields[newalt];
- }else{
- document.getElementById(newalt).innerHTML=sfields[newalt];//default div element
- }
- }
-
- if(document.getElementById(newalt + "_" + 0)){
- document.getElementById(newalt + "_" + 0).innerHTML=sfields[newalt];
- }
-
- if(document.getElementById(newalt + "_" + 1)){
- document.getElementById(newalt + "_" + 1).innerHTML=sfields[newalt];
- }
-
- if(document.getElementById(newalt + "_" + 2)){
- document.getElementById(newalt + "_" + 2).innerHTML=sfields[newalt];
- }
-
- if(document.getElementById(newalt + "_" + 3)){
- document.getElementById(newalt + "_" + 3).innerHTML=sfields[newalt];
- }
-
- if(document.getElementById(newalt + "_" + 4)){
- document.getElementById(newalt + "_" + 4).innerHTML=sfields[newalt];
- }
-
- if(document.getElementById(newalt + "_" + 5)){
- document.getElementById(newalt + "_" + 5).innerHTML=sfields[newalt];
- }
-
- }
- }
-
-
- var sfields = new Array();
-
- //start
- sfields["str_noupdate"] = "No Updates Available";
- sfields["str_yesupdate"] = "Updates Available!";
- sfields["str_lastscan"] = "Last Update Scan:";
- sfields["str_foundprogs"] = "Programs found:";
- sfields["str_foundupdates"] = "Updates found:";
- sfields["searchbutton"] = "Search for Updates";
- sfields["listbutton"] = "Program List";
- sfields["str_availupdates"] = "Updates Available:";
- sfields["str_availvers"] = "Version:";
- sfields["str_availnews"] = "News:";
-
-
- //details
- sfields["str_pname"] = "Product name:";
- sfields["str_publisher"] = "Publisher:";
- sfields["str_category"] = "Category:";
- sfields["str_license"] = "License:";
- sfields["str_irequirements"] = "System requirements:";
- sfields["str_iversion"] = "Installed Version:";
- sfields["str_uversion"] = "Current Version:";
- sfields["str_management"] = "Administration:";
- sfields["str_info"] = "Info:";
- sfields["str_sdesc"] = "Short description:";
- sfields["str_desc"] = "Description:";
- sfields["str_download"] = "Download";
- sfields["str_buynow"] = "Buy now";
- sfields["str_buyfrom"] = "from ";
- sfields["str_errlink"] = "incorrect link";
- sfields["str_sendupdate"] = "Send Update";
- sfields["sendupdate"] = "Send Update";
- sfields["alt_uninstall"] = "Uninstall ";
- sfields["alt_repair"] = "Repair";
- sfields["alt_modify"] = "Modify";
-
- sfields["str_newstitle"] = "Title";
- sfields["str_newsdata"] = "Date";
-
- </xsl:element>
-
-
-
-
-
-
- <xsl:if test="$language='1031'">
- <script type="text/javascript">
-
- //start
- sfields["str_noupdate"] = "Keine Updates verfⁿgbar";
- sfields["str_yesupdate"] = "Updates verfⁿgbar!";
- sfields["str_lastscan"] = "Letzter Update-Scan:";
- sfields["str_foundprogs"] = "Gefundene Programme:";
- sfields["str_foundupdates"] = "Gefundene Updates:";
- sfields["searchbutton"] = "Updates suchen";
- sfields["listbutton"] = "Programmliste";
- sfields["str_availupdates"] = "Verfⁿgbare Updates:";
- sfields["str_availvers"] = "Aktuelle Version:";
- sfields["str_availnews"] = "Verfⁿgbare Meldungen:";
-
-
- //details
- sfields["str_pname"] = "Produktname:";
- sfields["str_publisher"] = "Hersteller:";
- sfields["str_category"] = "Produktkategorie:";
- sfields["str_irequirements"] = "Systemanforderungen:";
- sfields["str_license"] = "Lizenz:";
- sfields["str_iversion"] = "Installierte Version:";
- sfields["str_uversion"] = "Aktuelle Version:";
- sfields["str_management"] = "Verwaltung:";
- sfields["str_info"] = "Info:";
- sfields["str_sdesc"] = "Kurze Beschreibung:";
- sfields["str_desc"] = "Beschreibung:";
- sfields["str_download"] = "Download";
- sfields["str_buynow"] = "Jetzt kaufen";
- sfields["str_buyfrom"] = "von ";
- sfields["str_errlink"] = "Link ist falsch";
- sfields["str_sendupdate"] = "Update senden";
- sfields["sendupdate"] = "Update senden";
- sfields["alt_uninstall"] = "Deinstallieren ";
- sfields["alt_repair"] = "Reparieren";
- sfields["alt_modify"] = "─ndern";
-
- //news
- sfields["str_newstitle"] = "Titel";
- sfields["str_newsdata"] = "Datum";
-
- </script>
- </xsl:if>
-
-
-
-
-
-
-
-
- </head>
-
- <body onload="if(window.translate)translate();">
-
-
-
-
-
- <form name="form1" method="post" action="" id="form1">
- <div>
- <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
- <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
- </div>
-
- <script type="text/javascript">
- <!--
- var theForm = document.forms['form1'];
- if (!theForm) {
- theForm = document.form1;
- }
- function __doPostBack(eventTarget, eventArgument) {
- if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
- theForm.__EVENTTARGET.value = eventTarget;
- theForm.__EVENTARGUMENT.value = eventArgument;
- theForm.submit();
- }
- }
- // -->
-
- function Close() {
- if (window.external && window.external.StartClose) {
- window.external.StartClose();
- }
- return false;
- }
- var closebt = document.getElementById("StartPage_CloseButton");
- if (closebt != null) {
- closebt.onclick = Close;
- }
- </script>
-
-
-
-
-
-
-
-
-
- <!-- ERSTE TABELLE OBEN LINKS -->
- <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
- <tr>
- <td style="padding-left: 10px; padding-right:10px">
- <table border="0" cellpadding="0" cellspacing="0" width="100%" >
- <tr>
- <xsl:if test="$myupdatelist=''">
- <td class="status_greenl"><div id="str_noupdate">.</div></td>
- <td class="status_greenr">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">19</xsl:attribute>
- <xsl:attribute name="height">23</xsl:attribute>
- </xsl:element>
- </td>
- </xsl:if>
- <xsl:if test="not($myupdatelist='')">
- <td class="status_redl"><div id="str_yesupdate">.</div></td>
- <td class="status_redr">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">19</xsl:attribute>
- <xsl:attribute name="height">23</xsl:attribute>
- </xsl:element>
- </td>
- </xsl:if>
-
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td valign="top" class="bgpic_unused">
- <table border="0" cellpadding="10" cellspacing="0" width="100%" >
- <tr>
- <td width="50%" valign="top" colspan="2">
- <table border="0" cellpadding="0" cellspacing="0" width="100%">
- <tr>
- <td class="tl">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">2</xsl:attribute>
- <xsl:attribute name="height">2</xsl:attribute>
- </xsl:element>
- </td><td class="tm" width="100%"></td>
- <td class="tr">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">2</xsl:attribute>
- <xsl:attribute name="height">2</xsl:attribute>
- </xsl:element>
- </td>
- </tr>
- <tr>
- <td class="ml"></td>
- <td width="100%" class="wbox">
-
- <table border="0" cellpadding="0" cellspacing="0" width="100%">
- <tr>
- <td valign="top" style="padding-right:15px" width="20">
- <xsl:element name="img"><xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/xml_scan.gif</xsl:attribute></xsl:element>
- </td>
- <td valign="top" width="250">
- <table border="0" cellpadding="0" cellspacing="0" width="100%">
- <tr>
- <td colspan="2" valign="top" style="padding-bottom:20px">
- <table border="0" width="100%" cellpadding="0" cellspacing="0" >
- <tr>
- <td class="normalbig"><div id="str_lastscan">.</div></td>
- </tr>
- <tr>
- <td class="blue" valign="top"><b><xsl:copy-of select="$lastupdate"/></b></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td colspan="2" valign="top">
- <table border="0" width="100%" cellpadding="0" cellspacing="0">
- <tr>
- <td class="normalbig"><div id="str_foundprogs">.</div></td>
- <td class="green"><b><xsl:copy-of select="$apps"/></b></td>
- <td rowspan="2">
- <!--chart-->
- </td>
- </tr>
- <tr>
- <td class="normalbig"><div id="str_foundupdates">.</div></td>
- <td class="red"><b><xsl:copy-of select="$updates"/></b></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <br/>
- <xsl:element name="img">
- <xsl:attribute name="width">250</xsl:attribute>
- <xsl:attribute name="height">1</xsl:attribute>
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/shim.gif</xsl:attribute>
- </xsl:element>
- </td>
- </tr>
- </table>
- </td>
-
- <td valign="top">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:copy-of select="$stylepath"/>/chart/<xsl:copy-of select="$ratio"/>.png
- </xsl:attribute>
- <xsl:attribute name="style">margin-left:15px; margin-right:15px; margin-top:15px;</xsl:attribute>
- </xsl:element>
- </td>
-
-
- <td>
- <table border="0" cellpadding="5" cellspacing="0" >
- <tr>
- <td>
-
- <table border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_left.gif</xsl:attribute>
- </xsl:element>
- </td>
- <td class="startm">
- <a href="#" class="buttonstart" onclick="window.external.StartScan();" id="searchbutton">.</a></td>
- <td>
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_right.gif</xsl:attribute>
- </xsl:element>
- </td>
- </tr>
- </table>
-
- </td>
- </tr>
- <tr>
- <td>
- <table border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_left.gif</xsl:attribute>
- </xsl:element>
- </td>
- <td class="startm">
- <a href="#" class="buttonstart" onclick="window.external.StartClose();" id="listbutton">.</a></td>
- <td>
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_right.gif</xsl:attribute>
- </xsl:element>
- </td>
- </tr>
- </table>
-
-
- </td>
-
- </tr>
- </table>
- </td>
-
-
-
-
-
-
-
- <td valign="top">
- <xsl:element name="img">
- <xsl:attribute name="border">0</xsl:attribute>
- <xsl:attribute name="align">right</xsl:attribute>
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>startstar.png</xsl:attribute></xsl:element>
- </td>
- </tr>
- </table>
-
- </td>
- <td class="mr"></td>
- </tr>
- <tr>
- <td class="bl">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">2</xsl:attribute>
- <xsl:attribute name="height">2</xsl:attribute>
- </xsl:element>
- </td>
- <td class="bm"></td>
- <td class="br">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">2</xsl:attribute>
- <xsl:attribute name="height">2</xsl:attribute>
- </xsl:element>
- </td>
- </tr>
- </table>
- </td>
-
- </tr>
- <tr>
- <td width="50%" valign="top">
-
- <!-- Dritte TABELLE UNTEN LINKS-->
- <table border="0" cellpadding="0" cellspacing="0" width="100%" height="200">
- <tr>
- <td class="tl">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">2</xsl:attribute>
- <xsl:attribute name="height">2</xsl:attribute>
- </xsl:element>
- </td><td class="tm" width="100%"></td>
- <td class="tr">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">2</xsl:attribute>
- <xsl:attribute name="height">2</xsl:attribute>
- </xsl:element>
- </td>
- </tr>
- <tr>
- <td class="ml"></td>
- <td width="100%" height="100%" class="wbox">
-
- <table border="0" cellpadding="0" cellspacing="0" height="200" width="100%">
- <tr>
- <td valign="top" style="padding-right:15px">
- <xsl:element name="img"><xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/xml_ok.gif</xsl:attribute></xsl:element>
- </td>
- <td valign="top" width="100%">
- <table border="0" cellpadding="2" cellspacing="0" width="100%">
- <tr>
- <td width="80%" class="normalbig" style="white-space: nowrap;"><div id="str_availupdates">.</div></td>
- <td class="normalbig" style="white-space: nowrap;"><div id="str_availvers">.</div></td>
- </tr>
-
- <xsl:for-each select="updatelist">
- <xsl:apply-templates/>
- </xsl:for-each>
-
- </table>
- </td>
- <td valign="top"></td>
- </tr>
- </table>
-
- </td>
- <td class="mr"></td>
- </tr>
- <tr>
- <td class="bl">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">2</xsl:attribute>
- <xsl:attribute name="height">2</xsl:attribute>
- </xsl:element>
- </td>
- <td class="bm"></td>
- <td class="br">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">2</xsl:attribute>
- <xsl:attribute name="height">2</xsl:attribute>
- </xsl:element>
- </td>
- </tr>
- </table>
-
- </td>
- <td width="50%" valign="top">
-
- <table border="0" cellpadding="0" cellspacing="0" width="100%">
- <tr>
- <td class="tl">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">2</xsl:attribute>
- <xsl:attribute name="height">2</xsl:attribute>
- </xsl:element>
- </td><td class="tm" width="100%"></td>
- <td class="tr">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">2</xsl:attribute>
- <xsl:attribute name="height">2</xsl:attribute>
- </xsl:element>
- </td>
- </tr>
- <tr>
- <td class="ml"></td>
- <td width="100%" class="wbox">
-
- <table border="0" cellpadding="0" cellspacing="0" height="200" width="100%">
- <tr>
- <td valign="top" style="padding-right:15px">
- <xsl:element name="img"><xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/xml_news.gif</xsl:attribute></xsl:element>
- </td>
- <td valign="top" width="100%">
- <table border="0" cellpadding="2" cellspacing="0" width="100%">
- <tr>
- <td width="100%" class="normalbig"><nobr><div id="str_availnews">.</div></nobr></td>
- </tr>
- <tr>
- <td>
- <xsl:for-each select="newslist">
- <xsl:apply-templates/>
- </xsl:for-each>
- </td>
- </tr>
- </table>
- </td>
- <td valign="top"></td>
- </tr>
- </table>
-
- </td>
- <td class="mr"></td>
- </tr>
- <tr>
- <td class="bl">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">2</xsl:attribute>
- <xsl:attribute name="height">2</xsl:attribute>
- </xsl:element>
- </td>
- <td class="bm"></td>
- <td class="br">
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">2</xsl:attribute>
- <xsl:attribute name="height">2</xsl:attribute>
- </xsl:element>
- </td>
- </tr>
- </table>
-
- </td>
- </tr>
- </table>
- <xsl:element name="img">
- <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
- <xsl:attribute name="width">1</xsl:attribute>
- <xsl:attribute name="height">1</xsl:attribute>
- </xsl:element>
- </td></tr>
- </table>
-
-
-
-
-
-
-
-
-
-
-
-
- </form>
- </body></html>
- </xsl:template>
-
-
-
-
-
-
-
-
- <xsl:template match="news">
- <table border="0" width="100%">
- <tr>
- <td width="100%" class="normalbig">
- <xsl:element name="a">
- <xsl:attribute name="href">javascript:window.external.OpenNews(<xsl:value-of select="id" />);</xsl:attribute>
- <xsl:attribute name="alt"><xsl:value-of select="url" /></xsl:attribute>
- <xsl:value-of select="title" />
- </xsl:element>
- </td>
- </tr>
- </table>
- </xsl:template>
-
-
-
- <xsl:template match="update">
- <tr>
- <td valign="top" style="padding-right:10px;" class="normalbig">
- <xsl:element name="a">
- <xsl:attribute name="href">javascript:window.external.GotoUpdate(<xsl:value-of select="update_id" />);</xsl:attribute>
- <xsl:value-of select="name"/>
- </xsl:element>
- </td>
-
- <td valign="top" class="normalbig">
- <xsl:element name="a">
- <xsl:attribute name="href">javascript:window.external.GotoUpdate(<xsl:value-of select="update_id" />);</xsl:attribute>
- <xsl:value-of select="version"/>
- </xsl:element>
- </td>
- </tr>
- </xsl:template>
-
-
-
- </xsl:stylesheet>
-